from ccon import *


foo = Struct("foo",
    UBInt8("count"),
    Array(this.count, 
        Struct("lines",
            UBInt8("length"),
            Field("value", this.length),
        )
    ),
)

generate("moshe", foo)


